{extend name="/base" /}
            {block name="search"}
            <form class="app-search p-l-20" action="#" method="post" enctype="multipart/form-data">
                <input type="text" class="form-control" placeholder="搜索" name="searchactivity">
                <a class="srh-btn">
                    <!-- <i class="ti-search" type="submit"></i> -->
                    <button style="background-color:transparent;
                    border-style:none;"><i class="ti-search" ></i></button>
                    <!-- <button class="ti-search" type="submit"></button> -->
                </a>
            </form>
            {/block}
{block name="main"}
<div class="page-wrapper">
        <div class="container-fluid">
            <div class="row page-titles">
                <div class="col-md-6 col-8 align-self-center">
                    <!-- <h3 class="text-themecolor m-b-0 m-t-0">Dashboard</h3> -->
                    <ol class="breadcrumb">
                        <li class="breadcrumb-item"><a href="javascript:void(0)">首页</a></li>
                        <li class="breadcrumb-item active">活动管理</li>
                    </ol>
                </div>
                <div class="col-md-6 col-4 align-self-center">
                    <a href="addactivity.html" class="btn pull-right hidden-sm-down btn-success">添加文章</a>
                </div>
            </div>
            <div class="row">
                
            </div>
            <!-- Row -->
            <!-- Row -->
            <div class="row">
               
            </div>
            <!-- Row -->
            <!-- Row -->
            
            <div class="row">
                    <div class="col-sm-12">
                        <div class="card">
                            <div class="card-block">
                                
                                <h4 class="card-title">文章列表</h4>
                                <div class="table-responsive m-t-40">
                                    <table class="table stylish-table">
                                        <thead>
                                            <tr>
                                                <!-- <th colspan="2">Assigned</th> -->
                                                <!-- <th>序号</th> -->
                                                <th>海报</th>
                                                <th>标题</th>
                                                <th>品牌</th>
                                                <th>内容</th>
                                                <th>发布人</th>
                                                <th>添加时间</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                                {volist name="nets" id="vo" }
                                            <tr>
                                                <!-- <td>{$i}</td> -->
                                                <td><img src="__STATIC__/uploads/{$vo.article_pic}" alt="user" width="50" /></td>
                                                <td>{$vo.article_title}</td>
                                                <td>{$vo.brand}</td>
                                                <td>{$vo.article_matter}</td>
                                                <td>{$vo.user_name}</td>
                                                <td>{$vo.article_time}</td>
                                                <td>
                                                        <div class="btn-group">
                                                          <a class="btn btn-small dropdown-toggle" data-toggle="dropdown" href="#">
                                                         操作
                                                            <span class="caret"></span>
                                                          </a>
                                                          <ul class="dropdown-menu pull-right">
                                                            <li><a href="{:url('activity/updateactivity',['article_id'=>$vo.article_id])}"><i class="icon-trash"></i> 修改</a></li>
                                                            <li><a href="{:url('activity/deleteactivity',['article_id'=>$vo.article_id])}"><i class="icon-trash"></i> 删除</a></li>
                                                            </ul>
                                                        </div>
                                                      </td>
                                            </tr>
                                            
                                            {/volist}
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            <!-- Row -->
            <!-- ============================================================== -->
            <!-- End PAge Content -->
            <!-- ============================================================== -->
        </div>
        
{/block}